set(app_name  app_alphapose)
message(STATUS "app_name: ${app_name}")
set(dir_name ${src_dir}/app_alphapose)
message(STATUS "${app_name}: ${dir_name}")

file(GLOB app_srcs ${dir_name}/*.cpp)
file(GLOB app_headers ${dir_name}/*.h)
file(GLOB app_cus ${dir_name}/*.cu)

cuda_add_library(${app_name} STATIC
    ${app_srcs}
    ${app_cus}
    ${app_yolo_headers}
)

set_target_properties(${app_name} PROPERTIES CUDA_SEPARABLE_COMPILATION ON)
target_include_directories(${app_name} PRIVATE ${src_dir})
target_link_libraries(${app_name}
    ${OpenCV_LIBS}
    trt_utils
    trt_engine
)

target_include_directories(${app_name} PRIVATE ${src_dir})
